def get_full_name(firstname,lastname,middle=''):
    """ 从输入的firstname和lastname得到完整的名字 """
    if middle:
        full_name = firstname+' '+middle+' ' +lastname
    else:
        full_name = firstname+' ' +lastname
    return full_name.title()

